From: nana-4 Date: Fri, 17 Jan 2020 11:41:10 +0000 (+0900) Subject: theme: Don't recolor buttons and entries in dialogs and notifications X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~781^2^2~190 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=889863f35371124f95a4867f98497c77b972e907;p=gnome-shell.git theme: Don't recolor buttons and entries in dialogs and notifications We should have a consistent dialog style in the whole system. See https://gitlab.gnome.org/GNOME/gnome-shell/issues/1343 --- diff --git a/data/theme/gnome-shell-sass/_common.scss b/data/theme/gnome-shell-sass/_common.scss index aea0dbbc3..64783486a 100644 --- a/data/theme/gnome-shell-sass/_common.scss +++ b/data/theme/gnome-shell-sass/_common.scss @@ -107,36 +107,6 @@ stage { color: $fg_color; background-color: $bg_color; border: 1px solid if($variant=='light', rgba(0,0,0, 0.6), $borders_color); - - // entry - StEntry { @extend %bubble_entry;} - - // button - .button { - background-color: $bg_color; - color: $fg_color; - box-shadow: none; - - &, &:hover, &:focus, &:active, &:disabled { - border-color: $bubble_borders_color; - } - - &:hover { background-color: $hover_bg_color;} - &:active { - background-color: $selected_bg_color; - color: $selected_fg_color; - } - &:disabled { color: $insensitive_fg_color;} - } -} - -// entries in dialogs -%bubble_entry { - color: $fg_color; - background-color: darken($bg_color, 2%); - border-color: $bubble_borders_color; - box-shadow: none; - &:focus { border: 2px solid $selected_bg_color;} } // button styling @@ -158,7 +128,6 @@ stage { %bubble_button { @include button(normal, $shadow: none); padding: $base_padding * 2; - border-color: $bubble_borders_color; border-style: solid; border-width: 1px; border-left-width: 0; diff --git a/data/theme/gnome-shell-sass/widgets/_notifications.scss b/data/theme/gnome-shell-sass/widgets/_notifications.scss index cc0a0852a..4bcbb68a3 100644 --- a/data/theme/gnome-shell-sass/widgets/_notifications.scss +++ b/data/theme/gnome-shell-sass/widgets/_notifications.scss @@ -27,9 +27,6 @@ $notification_banner_width: 34em; color: $fg_color; } - // entries - StEntry { @extend %bubble_entry; } - .notification-icon { padding: 5px; }